package nsu.grandfinal;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Tab3 extends Activity {
	private Button	provision;
	private Button	qna;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.tiplayout);
		
		provision = (Button) findViewById(R.id.btn_provision);
		provision.setOnClickListener(new OnClickListener() {
			
			public void onClick(View v) {
				Intent provision = new Intent(Tab3.this, Provision.class);
				startActivity(provision);
			}
		});
		qna = (Button) findViewById(R.id.qna);
		qna.setOnClickListener(new OnClickListener() {
			
			public void onClick(View v) {
				Intent qna = new Intent(Tab3.this, QNA.class);
				startActivity(qna);
			}
		});
	}
}
